package com.yantong.mapper;
import com.yantong.pojo.ProductGrade;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * 商品品类
 *
 * @param
 * @return
 * @author huangshuai
 * @date 2021/6/8 17:20
 */
public interface ProductGradeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductGrade record);

    int insertSelective(ProductGrade record);

    ProductGrade selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductGrade record);

    int updateByPrimaryKey(ProductGrade record);

    List<ProductGrade> listByAll(ProductGrade productGrade, RowBounds rowBounds);

    int countByAll(ProductGrade productGrade);


    List<ProductGrade> selectByAll();




}